#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#define ROW 9
#define LINE 9
#define ROWS ROW+2
#define LINES LINE+2
#define TOTALCOUNT 10

void InitBoard(char a[ROWS][LINES],int n,int m,char ch);

void ShowBoard(char a[ROWS][LINES], int row, int line);

void SetMine(char a[ROWS][LINES], int row, int line);

int CountMine(char a[ROWS][LINES], char b[ROWS][LINES], int row, int line);

void FindMine(char mine[ROW][LINE], char show[ROW][LINE], int row, int line);